package com.qiqidream.admin.common.base;

import com.qiqidream.admin.common.response.BaseResponse;
import com.qiqidream.admin.common.utils.JwtUtil;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.http.HttpStatus;

import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * Controller 基类
 * @author QiQIDream
 * @since 2019/10/23 11:00
 */
@BaseResponse
public class BaseController {

    protected Logger log = LoggerFactory.getLogger(this.getClass());

    @Resource
    protected JwtUtil jwtUtil;

    @Resource
    protected HttpServletRequest request;

    @Resource
    protected HttpServletResponse response;

}
